The following is an example of how to reference the DesignerMode object:
// The full path is required. dundas.views.slideshow.DesignerMode.Edit